package com.sinosoft.utils.logback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* @Description:    LogUtil需要结合LogAspect类进行AOP来自定义log的输出不同的地方，与logback配置看包下README.md
* @Author:         zouren
* @CreateDate:     2019/3/1 10:43
* @Version:        1.0
*/
public class LogUtil {
	static Logger processLogger = LoggerFactory.getLogger("PROCESS");  
	static Logger businessLogger = LoggerFactory.getLogger("BUSINESS");  
	public static void process(String massage,Object...keys){
		processLogger.info(massage, keys);
	}
	public static void business(String massage,Object...keys){
		businessLogger.info(massage, keys);
	}
}
